package com.zch.jh.service.mapper;


import com.zch.jh.domain.*;
import com.zch.jh.service.dto.LogisticDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity {@link Logistic} and its DTO {@link LogisticDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface LogisticMapper extends EntityMapper<LogisticDTO, Logistic> {



    default Logistic fromId(Long id) {
        if (id == null) {
            return null;
        }
        Logistic logistic = new Logistic();
        logistic.setId(id);
        return logistic;
    }
}
